#pragma once
#include "Log.h"
#include "XMLElement.h"
#include "FactoryUtil.h"
#include "elementfactory.h"
#include "Source.h"

class SourceFactory: public ElementFactory
{
public:
	SourceFactory(void);
	virtual Element* createElement(XMLElement * element); 
	~SourceFactory(void);

private:
	Log * log;
	Source* createSource(XMLElement * sourceElement);	

};
